@extends('layouts.root')

@section('content')
    <div class="row">
        <div class="col-sm-6 col-sm-offset-3">
            <form action="{{ route('root.tags.store') }}" method="post" class="form-horizontal" role="form">
                <div class="form-group">
                    <legend class="text-center">{{ $title }}</legend>
                </div>
                <div class="form-group">
                	<label for="inputName" class="col-sm-2 control-label">名称:</label>
                	<div class="col-sm-10">
                        <div class="input-group">
                            <input type="text" name="name" id="inputName" class="form-control" value="{{ old('name') }}" />
                            {{ csrf_field() }}
                            <span class="input-group-btn">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </span>
                        </div>
                	</div>
                </div>
            </form>
        </div>
    </div>
@stop